package com.metroinfo.parser;

public class GeneralSettings {

	private static final GeneralSettings instance = new GeneralSettings();
	
	public static final int CT_SEND_DATA = 1; //COMMAND TYPE
	public static final int CT_REQ_SETTINGS = 2; //COMMAND TYPE
	
	public static final int MIN_LENGHT = 7;
	public static final int BASE_DATA = 6;
	public static final int ONE_PAR = 3;
	public static final int MAX_NUM_OF_PARS = 256;
	
	// calculation MIN_LENGHT + ONE_PAR * MAX_NUM_OF_PARS = 7 + 3*256
	public static final int RECEIVE_DATA_SIZE = 775; 
	
	public static final int RESPOND_DATA_SIZE = 775; 
	
	
	public static final byte RESP_SEND_DATA = 1;
	
	private GeneralSettings (){
		
	}
	
	public static GeneralSettings getInstance(){
		return instance;
	}
}
